<div id="left">
  <h2>{dede:field.typeid runphp='yes'}$ID = @me; $sql = "SELECT * FROM `dede_arctype` WHERE id=$ID";$query = mysql_query($sql);$row=mysql_fetch_array($query); $relID = "$row[reid]"; if($relID == 0) {@me = $row[typename];}else{$sql = "SELECT `typename` FROM `dede_arctype` WHERE id=$relID";$query = mysql_query($sql);$row=mysql_fetch_array($query); @me = $row[typename];}{/dede:field.typeid}</h2>
  <ul class="left_menu">
    {dede:channel type='son' currentstyle="
    <li><a href='~typelink~' class='thisclass'>~typename~</a></li>
    "}
    <li><a href="[field:typeurl/]" title="[field:typename/]">[field:typename/]</a></li>
    {/dede:channel}
  </ul>
  <b class="bg_boot"></b>
  <div class="left_contact">
    <h4>联系我们</h4>
    <p>地址：{dede:global.cfg_add/}<br />
      电话：{dede:global.cfg_tel/}<br />
      传真：{dede:global.cfg_fax/}<br />
      手机：{dede:global.cfg_phone/}<br />
      邮箱：{dede:global.cfg_email/}</p>
  </div>
</div>
